home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / 3c509drv.zip / INFO.BAT < prev    next >
DOS Batch File  |  1993-06-01  |  3KB  |  124 lines

  1. echo off
  2. REM %%VER EtherLink III Information Program v2.0a
  3. if %mono%.==y. goto b&w
  4. ..\install\flushkey
  5. ..\install\check videocard
  6. if errorlevel 1 goto color
  7. :b&w
  8. cls
  9. goto contin
  10. :color
  11. ..\install\get b 31
  12. :contin
  13. type info.men
  14. ..\install\echoxy 18 18 Select Option:
  15. ..\install\reply
  16. if errorlevel 60 goto inval
  17. if errorlevel 59 goto help
  18. if errorlevel 53 goto inval
  19. if errorlevel 52 goto main
  20. if errorlevel 51 goto isv
  21. if errorlevel 50 goto sup
  22. if errorlevel 49 goto gen
  23. if errorlevel 28 goto inval
  24. if errorlevel 27 goto main
  25.  
  26. :inval
  27. ..\install\echoxy 21 17  **** Invalid key, try again. ****
  28. echo 
  29. echo 
  30. echo.
  31. info
  32.  
  33. :help
  34. echo.
  35. echo.
  36. echo.
  37. type info.hlp
  38. pause
  39. info
  40.  
  41. :main
  42. cd..
  43. menu
  44.  
  45. :isv
  46. set txt=isvlist?.txt
  47. goto print
  48.  
  49. :gen
  50. set txt=sysresrc.txt
  51. goto print
  52.  
  53. :sup
  54. set txt=support.txt
  55.  
  56. :print
  57. ..\install\echoxy 23 2
  58. echo.
  59. type ..\blank.men
  60. ..\install\echoxy 4 22 I N F O R M A T I O N    M E N U
  61. if %txt% == tpopts.txt ..\install\echoxy 6 22 Twisted-pair Options
  62. if %txt% == sysresrc.txt ..\install\echoxy 6 22 System Resources
  63. if %txt% == support.txt ..\install\echoxy 6 22 Technical Support
  64. if %txt% == isvlist?.txt ..\install\echoxy 6 22 Software Compatibility List
  65. ..\install\echoxy 10 18 1. Print to LPT1
  66. ..\install\echoxy 11 21 LPT1 can be a local printer or a redirected
  67. ..\install\echoxy 12 21 network printer.
  68. ..\install\echoxy 14 18 2. Print to COM1
  69. ..\install\echoxy 15 21 Select option 2 only if you have a COM serial printer
  70. ..\install\echoxy 16 21 attached to your computer.
  71. ..\install\echoxy 18 18 3. Display Text File on Screen
  72. ..\install\echoxy 20 21 Select Option:
  73. ..\install\reply
  74. if errorlevel 52 goto inval
  75. if errorlevel 51 goto disp
  76. if errorlevel 50 goto comprt
  77. if errorlevel 49 goto lineprt
  78. if errorlevel 28 goto inval
  79. if errorlevel 27 goto infomen
  80. if errorlevel 13 goto inval
  81. :disp
  82. echo.
  83. echo.
  84. echo.
  85. echo.
  86. echo.
  87. echo.
  88. echo.
  89. copy %txt% temp > nul
  90. ..\install\more < temp
  91. pause
  92. del temp > nul
  93. goto infomen
  94.  
  95. :lineprt
  96. ..\install\get P
  97. if not errorlevel 1 goto prterror
  98. copy %txt% lpt1 > nul
  99.  
  100. :prtdone
  101. ..\install\echoxy 17 21
  102. ..\install\echoxy 20 21
  103. ..\install\echoxy 18 15 The text file has been printed.
  104. ..\install\echoxy 19 15
  105. pause
  106. goto infomen
  107.  
  108. :prterror
  109. ..\install\echoxy 17 21
  110. ..\install\echoxy 20 21
  111. ..\install\echoxy 18 15 *** Printing Error:  Unable to Locate Printer! ***
  112. ..\install\echoxy 19 15
  113. pause
  114. goto print
  115.  
  116. :infomen
  117. info
  118.  
  119. :comprt
  120. copy %txt% Com1:
  121. goto print
  122.  
  123.  
  124.